package com.castle.fortress.admin.jmreport.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.util.Date;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
/**
 * 在线excel设计器 实体类
 *
 * @author castle
 * @since 2023-10-11
 */
@Data
public class JimuReportDto implements Serializable {
	private static final long serialVersionUID = 1L;
	@JsonProperty("id")
	private String id;
	@JsonProperty("code")
	private String code;
	@JsonProperty("name")
	private String name;
	@JsonProperty("note")
	private String note;
	@JsonProperty("status")
	private String status;
	@JsonProperty("type")
	private String type;
	@JsonProperty("jsonStr")
	private String jsonStr;
	@JsonProperty("apiUrl")
	private String apiUrl;
	@JsonProperty("thumb")
	private String thumb;
	@JsonProperty("createBy")
	private String createBy;
	@DateTimeFormat(
		pattern = "yyyy-MM-dd HH:mm:ss"
	)
	@JsonFormat(
		pattern = "yyyy-MM-dd HH:mm:ss"
	)
	@JsonProperty("createTime")
	private Date createTime;
	@JsonProperty("updateBy")
	private String updateBy;
	@DateTimeFormat(
		pattern = "yyyy-MM-dd HH:mm:ss"
	)
	@JsonFormat(
		pattern = "yyyy-MM-dd HH:mm:ss"
	)
	@JsonProperty("updateTime")
	private Date updateTime;
	@JsonProperty("delFlag")
	private Boolean delFlag;
	@JsonProperty("apiMethod")
	private String apiMethod;
	@JsonProperty("apiCode")
	private String apiCode;
	@JsonProperty("template")
	private Boolean template;
	@JsonSerialize(using = ToStringSerializer.class)
	@JsonProperty("viewCount")
	private Long viewCount;
	@JsonProperty("cssStr")
	private String cssStr;
	@JsonProperty("jsStr")
	private String jsStr;
	@JsonProperty("tenantId")
	private String tenantId;
	@JsonProperty("castleJmrAuditDto")
	private CastleJmrAuditDto castleJmrAuditDto;

}
